<template>
	<div class="contents">
		<van-nav-bar
		  title="实名认证"
		  left-text="返回"
		  left-arrow
		  @click-left="onClickLeft"
		/>
		<div class="content">
			<section>
				<van-row class="card-border card-pl">
					<van-col span="4" class="card-h">真实姓名:</van-col>
					<van-col span="20" class="card-h card-pl">
						<input type="text" placeholder="请输入真实姓名">
					</van-col>
				</van-row>
				<van-row class="card-border card-pl">
					<van-col span="4" class="card-h">性别:</van-col>
					<van-col span="20" class="card-h card-pl">
						<input type="text" placeholder="请输入性别">
					</van-col>
				</van-row>
				<van-row class="card-border card-pl">
					<van-col span="4" class="card-h">身份证号:</van-col>
					<van-col span="20" class="card-h card-pl">
						<input type="text" placeholder="请输入身份证号">
					</van-col>
				</van-row>
				<van-row class="card-pl">
					<van-col span="24" class="card-h">证件上传:</van-col>
					<van-col span="20" offset="4" class="card-pl">
						<div class="card-upload">上传身份证正面</div>
						<div class="card-upload card-mt">上传身份证反面</div>
					</van-col>
				</van-row>
			</section>
			<section class="loginout">
				<van-button class="loginoutbtn" block>保存</van-button>
			</section>
		</div>
	</div>
</template>

<script>
import Headerc from './Headerc'
import Vue from 'vue'
import { Row, Col, Cell, CellGroup, Button } from 'vant'
Vue.use(Row).use(Col).use(Cell).use(CellGroup).use(Button)

import { NavBar } from 'vant';
Vue.use(NavBar);
export default {
	data () {
		return {}
	},
	methods: {
		onClickLeft () {
			this.$router.go(-1)
		}
	},
	components: {
		Headerc
	}
}
</script>

<style lang="scss" scoped="scoped">
@import '@/lib/reset.scss';
.card-border {
	@include rect(100%, .44rem);
	@include border(0 0 1px 0, #ccc, solid, null);
	input {
		@include rect(100%, 100%);
		border: none;
	}
}
.card-h {
	@include flexbox();
	@include align-items();
	height: .44rem;
}
.card-pl {
	padding-left: .1rem;
	box-sizing: border-box;
}
.card-upload {
	@include flexbox();
	@include justify-content();
	@include align-items();
	@include rect(95%, 1.5rem);
	@include border(1px 1px 1px 1px, #ccc, solid, null);
}
.card-mt {
	margin-top: .1rem;
}
.loginout {
	padding: 0 .1rem;
	margin-top: .1rem;
	box-sizing: border-box;
}
.loginoutbtn {
	background: #696f80;
	color: #fff;
}
</style>
